using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Input.Touch;

namespace TurbaconPhone
{
    public class Input
    {
        #region Fields
        public TouchCollection TouchState;

        public readonly List<GestureSample> Gestures = new List<GestureSample>();
        #endregion

        #region Properties

        #endregion

        public Input()
        {
        }

        public void Update()
        {
            TouchState = TouchPanel.GetState();

            Gestures.Clear();
            
            while (TouchPanel.IsGestureAvailable)
            {
                Gestures.Add(TouchPanel.ReadGesture());
            }
        }


    }
}
